package com.tong.ipprint.controller;

import com.tong.ipprint.service.IpPrintService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: tong
 * @Date: 2024/07/28/16:19
 * @Description:
 */
@RestController
@RequestMapping("test")
public class TestController {
    @Resource
    private IpPrintService ipPrintService;
    @GetMapping
    public String test() {
        ipPrintService.print();
        return "successful...";
    }
}
